package com.zkt.subject.domain.convert;

import com.zkt.subject.domain.entity.SubjectLabelBO;
import com.zkt.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/4
 * @description 题目标签的实体类型转换器
 **/

@Mapper
public interface SubjectLabelConverter {
	
	SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);
	
	SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);
	
	List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);
}
